/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.service;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.web.entity.WxProbability;
import com.jeeplus.modules.web.mapper.WxProbabilityMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 奖品管理Service
 * @author rongjie
 * @version 2017-09-04
 */
@Service
@Transactional(readOnly = true)
public class WxProbabilityService extends CrudService<WxProbabilityMapper, WxProbability> {

	public WxProbability get(String id) {
		return super.get(id);
	}
	
	public List<WxProbability> findList(WxProbability wxProbability) {
		return super.findList(wxProbability);
	}
	
	public Page<WxProbability> findPage(Page<WxProbability> page, WxProbability wxProbability) {
		return super.findPage(page, wxProbability);
	}
	
	@Transactional(readOnly = false)
	public void save(WxProbability wxProbability) {
		super.save(wxProbability);
	}
	
	@Transactional(readOnly = false)
	public void delete(WxProbability wxProbability) {
		super.delete(wxProbability);
	}
	
}